﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true"
    CodeBehind="SanPhamChiTiet.aspx.cs" Inherits="SES.CMS.SanPhamChiTiet" Title="Untitled Page" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/Module/ucTag.ascx" TagName="ucTag" TagPrefix="uc1" %>
<%@ Register Src="~/Module/ucDanhMuc.ascx" TagName="ucDanhMuc" TagPrefix="uc2" %>
<%@ Register Src="~/Module/ucBreadcrumb.ascx" TagName="ucBreadcrumb" TagPrefix="uc3" %>
<%@ Register Src="~/Module/ucSuuTap.ascx" TagName="ucSuuTap" TagPrefix="uc4" %>
<%@ Register Src="~/Module/ucImageLeft.ascx" TagName="ucImageLeft" TagPrefix="uc5" %>


<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="/css/kmmaProduct1.css" type="text/css" rel="Stylesheet" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="NoiDung">
        <div class="left-menu1">
            <uc2:ucDanhMuc ID="ucDanhMuc" runat="server" />
            <uc4:ucSuuTap ID="ucSuuTap1" runat="server" />
            
            <uc5:ucImageLeft ID="ucImageLeft" runat="server"></uc5:ucImageLeft>
        </div>
        <div class="PriContent">
            <uc3:ucBreadcrumb id="ucBreadcrumb" runat="server"></uc3:ucBreadcrumb>
            <div id="dProductDetail">
            <div class="ProPics">
                <div class="product-images">
                    <asp:HyperLink ID="hplImg" CssClass="fackybox" runat="server">
                        <asp:Image ID="imgContent" runat="server" />
                    </asp:HyperLink>
                </div>
                <div class="jcaro">
                <ul id="mycarousel" class="jcarousel-skin-tango">
                    <asp:Repeater ID="rpt2" runat="server">
                        <ItemTemplate>
                            <li><a Class="fackybox" rel="groupsp" href="/Media/<%#Eval("ImgFile") %>"
                                title="<%#(bool)(Session["lang"].ToString()=="VN")?Eval("Title"):Eval("eTitle") %>">
                                <img src="/Media/<%#Eval("ImgFile") %>"
                                title="<%#(bool)(Session["lang"].ToString()=="VN")?Eval("Title"):Eval("eTitle") %>">
                            </a></li>
                        </ItemTemplate>
                    </asp:Repeater>
                </ul>
                <div disabled="disabled" class="jcarousel-prev jcarousel-prev-disabled">
                </div>
                <div class="jcarousel-next">
                </div>
                </div>
                </div>
                <div class="product-detail-content">
                    <div id="product-detail-title">
                        <h3 class="h3pDetail">
                            <asp:Label runat="server" Text="" ID="lblTenSP"></asp:Label></h3>
                        <div class="hr-border">
                        </div>
                        <div class="product-detail-row">
                            <div class="l-pro-det-row">
                                <asp:Literal ID="Literal9" runat="server" Text="<%$ Resources:Language, vMaSP %>"></asp:Literal>:
                            </div>
                            <div class="r-pro-det-row">
                                <asp:Label runat="server" Text="" ID="lblMaSP"> </asp:Label></div>
                        </div>
                        <div class="product-detail-row">
                            <div class="l-pro-det-row">
                                <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Language, vLoai%>"></asp:Literal>:
                            </div>
                            <div class="r-pro-det-row">
                                <asp:HyperLink runat="server" Text="" ID="hplLoaiSP" CssClass="hpl"></asp:HyperLink>
                                <%--<asp:Label runat="server" Text="" ID="lblLoaiSP"> </asp:Label>--%>
                            </div>
                        </div>
                        <div class="product-detail-row">
                            <div class="l-pro-det-row">
                                <asp:Literal ID="Literal7" runat="server" Text="<%$ Resources:Language, vSuuTap%>"></asp:Literal>:
                            </div>
                            <div class="r-pro-det-row">
                                <asp:HyperLink runat="server" Text="" ID="hplNhanHieu" CssClass="hpl"></asp:HyperLink>
                            </div>
                        </div>
                        <div class="product-detail-row">
                            <div class="l-pro-det-row">
                                <asp:Literal ID="Literal4" runat="server" Text="<%$ Resources:Language, vDonVi%>"></asp:Literal>:
                            </div>
                            <div class="r-pro-det-row">
                                <asp:Label runat="server" Text="" ID="lbDonVi"> </asp:Label></div>
                        </div>
                        <div class="product-detail-row">
                            <div class="l-pro-det-row">
                                <asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:Language, vTuKhoa%>"></asp:Literal>:</div>
                            <div class="r-pro-det-row product-detail-keyword">
                                <uc1:ucTag ID="ucTag1" runat="server" />
                            </div>
                        </div>
                        <div class="hr-border">
                        </div>
                        <div class="product-detail-row">
                            <div class="l-pro-det-row">
                                <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:Language, vDonGia%>"></asp:Literal>:
                            </div>
                            <div class="r-pro-det-row product-detail-price">
                                <asp:Label runat="server" Text="" ID="lblDonGia"> </asp:Label></div>
                        </div>
                        <div class="product-detail-row">
                            <div class="l-pro-det-row">
                                <asp:Literal ID="Literal3" runat="server" Text="<%$ Resources:Language, vGiamGia%>"></asp:Literal>:</div>
                            <div class="r-pro-det-row product-detail-price">
                                <asp:Label runat="server" Text="" ID="lblGiamGia"> </asp:Label></div>
                        </div>
                        <div class="product-detail-row" style="height: 30px;">
                            <div class="l-pro-det-row" style="width: 120px; margin-top: 7px;">
                                <asp:ImageButton runat="server" ImageUrl="~/images/addtocart.png" ID="lbtnAddToCart"
                                    Width="120px" OnClick="lbtnAddToCart_Click" />
                            </div>
                            <div class="r-pro-det-row product-detail-price" style="float: right; text-align: right;">
                                <iframe runat="server" id="abc" scrolling="no" frameborder="0" style="margin-top: 12px;
                                    border: none; width: 75px; height: 20px;" allowtransparency="true"></iframe>
                                <asp:HyperLink runat="server" Target="_blank" ID="hplFacebook" NavigateUrl="http://www.facebook.com/sharer.php?u="><img alt="Chia sẻ thông tin này lên Facebook" src="/images/facebook.png" /></asp:HyperLink>
                                <asp:HyperLink runat="server" Target="_blank" ID="hplGoogle" NavigateUrl="https://plusone.google.com/_/+1/confirm?hl=en&url="><img alt="Chia sẻ lên Google Plus" src="/images/google.png" /></asp:HyperLink>
                                <asp:HyperLink runat="server" Target="_blank" ID="hplTwitter" NavigateUrl="http://twitter.com/home/?status="><img alt="Chia sẻ thông tin này lên Twitter" src="/images/twitter.png" /></asp:HyperLink>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="product-detail-tabcontainer">
                <cc1:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0" CssClass="MyTabStyle">
                    <cc1:TabPanel ID="TabPanel1" runat="server" HeaderText="<%$ Resources:Language, vMoTaCT%>">
                        <ContentTemplate>
                            <asp:Label runat="server" ID="lblThongTinChiTiet" Text=""></asp:Label>
                        </ContentTemplate>
                    </cc1:TabPanel>
                    <cc1:TabPanel ID="TabPanel2" runat="server" HeaderText="<%$ Resources:Language, vDanhGia%>">
                        <ContentTemplate>
                             <div class="fb-comments" id="fbcm" runat="server" data-num-posts="10" data-width="700">
                    </div>
                        </ContentTemplate>
                    </cc1:TabPanel>
                    <cc1:TabPanel ID="TabPanel3" runat="server" HeaderText="<%$ Resources:Language, vBaoHanh%>">
                        <ContentTemplate>
                            <asp:Label runat="server" ID="lblBaoHanh" Text=""></asp:Label>
                        </ContentTemplate>
                    </cc1:TabPanel>
                </cc1:TabContainer>
                <br />
            </div>
            <div id="dRelevantProduct">
                <h3 class="h3Detail">
                    <asp:Literal ID="Literal6" runat="server" Text="<%$ Resources:Language, vSpTT%>"></asp:Literal>
                </h3>
                <div class="Other-Product">
                    <asp:UpdatePanel ID="pn" runat="server">
                        <ContentTemplate>
                            <asp:Repeater ID="rpt" runat="server">
                                <ItemTemplate>
                                    <div class="SanPham-ChiTiet">
                                        <div class="AnhSP">
                                            <div class="Anh-SP">
                                                <a href='/SanPhamChiTiet/<%#Eval("SanPhamID")%>/<%#(bool)(Session["lang"].ToString()=="VN")?FriendlyUrl(Eval("TenSanPham").ToString()):FriendlyUrl(Eval("eTenSanPham").ToString())%>'>
                                                    <img class="AnhSP-img" src="<%# "/Media/" + Eval("HinhAnh")%>" align="top" alt='<%#(bool)(Session["lang"].ToString()=="VN")?Eval("TenSanPham"):Eval("eTenSanPham") %>' />
                                                </a>
                                            </div>
                                            <div class="Anh-SP-bot">
                                                <a href='/SanPhamChiTiet/<%#Eval("SanPhamID")%>/<%#(bool)(Session["lang"].ToString()=="VN")?FriendlyUrl(Eval("TenSanPham").ToString()):FriendlyUrl(Eval("eTenSanPham").ToString())%>'>
                                                    <asp:Literal ID="Literal8" runat="server" Text="<%$ Resources:Language, vChiTiet%>"></asp:Literal>
                                                </a>
                                            </div>
                                        </div>
                                        <div class="SanPham-TT" style="width: 245px; margin-right: 5px;">
                                            <div class="SanPham-TT-Name">
                                                <a href='/SanPhamChiTiet/<%#Eval("SanPhamID")%>/<%#(bool)(Session["lang"].ToString()=="VN")?FriendlyUrl(Eval("TenSanPham").ToString()):FriendlyUrl(Eval("eTenSanPham").ToString())%>'>
                                                    <%#(bool)(Session["lang"].ToString() == "VN") ? Eval("TenSanPham"):Eval("eTenSanPham")%>
                                                </a>
                                            </div>
                                            <div class="SanPham-TT-Desc">
                                                <%#(bool)(Session["lang"].ToString() == "VN") ? Eval("Mota") : Eval("eMota")%>
                                            </div>
                                        </div>
                                    </div>
                                    <!--End .SanPham-ChiTiet-->
                                </ItemTemplate>
                            </asp:Repeater>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </div>
            </div>
            <div style="width: 100%; float: left; margin-top: 10px;">
                <div style="float: left;">
                    <asp:ImageButton ID="cmdPrev" Visible="false" OnClick="cmdPrev_Click" runat="server"
                        ImageUrl="~/images/prevpage.png" /></div>
                <div style="float: right;">
                    <asp:ImageButton ID="cmdNext" Visible="false" OnClick="cmdNext_Click" runat="server"
                        ImageUrl="~/images/nextpage.png" /></div>
            </div>
        </div>
    </div>
</asp:Content>
